//
//  NSNumber+DataHandle.m
//  Mamaji
//
//  Created by 玛马吉 on 17/3/15.
//  Copyright © 2017年 玛马吉. All rights reserved.
//

#import "NSNumber+DataHandle.h"

@implementation NSNumber (DataHandle)
+ (NSNumber *)numberHandleWithNumber:(id)obj{
    if (!obj||[obj isKindOfClass:[NSNull class]]||![obj isKindOfClass:[NSNumber class]]) {
        return @0;
    }
    return obj;
}
@end
